package com.jd.platform.sample2.entity.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "spring.redis2")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Redis2Properties {
    private String host;
    private int port;
    private String password;
    private int database;
}
